package com.sjq.demo.service;

import com.sjq.demo.entity.RbacPermission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 权限表 服务类
 * </p>
 *
 * @author yer
 * @since 2021-02-26
 */
public interface RbacPermissionService extends IService<RbacPermission> {

    /**
     * 通过角色id获取权限
     * @param roleid
     * @return
     */
    List<RbacPermission> getPermissions(String roleid);
}
